﻿<%@ Page Title="" Language="C#" MasterPageFile="~/public_page/master_page_common2.master" AutoEventWireup="true" CodeFile="user_password_change.aspx.cs" Inherits="public_page_user_password_change" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CPH_Right" Runat="Server">

    <form id="form1" runat="server">
<div class="crumbs">
        您的位置： <a href="user_toIndex.aspx">用户服务</a><span>&gt;</span><a href="#">用户密码修改</a>
    </div>
    <div class="box-title">
        用户密码修改</div>

    <script type="text/javascript">
       
        function check_submit() {
            user_password = $("#Txt_user_password").val();
            user_password_new1 = $("#Txt_user_password_new1").val();
            user_password_new2 = $("#Txt_user_password_new2").val();
            
            if (user_password == '') {
                $("#error").html("请输入原密码");
                return false;
            }

            if (user_password_new1 == '') {
                $("#error").html("请输入新密码");
                return false;
            }

            if (user_password_new1 != user_password_new2) {
                $("#error").html("两次密码输入不正确");
                return false;
            }
        }

    </script>

    <div class="apply-from">
        <div id='error' style="text-align: center; padding-left: 15px; padding-right: 15px;
            color: red; font-size: 14px; font-weight: bold;">
        </div>
        <fieldset>
            <div class="fm-item">
                <label class="fm-label">
                    原密码：</label><asp:TextBox runat="server" ID="Txt_user_password" CssClass="i-text" TextMode="password" />
                <span class="red">*</span>
            </div>
            
            <div class="fm-item">
                <label class="fm-label">
                    新密码：</label><asp:TextBox runat="server" ID="Txt_user_password_new1" CssClass="i-text" TextMode="password" />
                <span class="red">*</span>
                <div class="fm-explain">
                    新密码由8位字母和数字构成，为了您的账户安全，请不要设置过于简单的密码如生日、电话号码等<span class="arrow"></span></div>
            </div>
            <div class="fm-item">
                <label class="fm-label">
                    确认新密码：</label><asp:TextBox runat="server" ID="Txt_user_password_new2" CssClass="i-text"
                        TextMode="password" />
                <span class="red">*</span>
                <div class="fm-explain">
                    请再次确认并输入新密码<span class="arrow"></span></div>
            </div>
           
            <div class="fm-item">
                <span>
                    <asp:Button runat="server" ID="BtnOK" Text="确认" OnClick="BtnOK_Click" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <input type="button" onclick="javascript:window.history.back()" value="返  回" />
                </span>
            </div>
        </fieldset>
    </div>


    </form>


</asp:Content>

